package com.lzc.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lzc.pojo.entity.ImgLibrary;
import lombok.Data;

@Data
public class ImgLibraryDto {

    private Long id;

    private String src;

    public ImgLibraryDto(ImgLibrary imgLibrary){

        this.id = imgLibrary.getId();
        this.src = imgLibrary.getSrc();

    }
}
